package com.liu.design.structure.component;

/**
 * @author LIU
 * @version 1.0
 * @date 2024/5/6 11:48
 * @description TODO
 */
public class VipDiscount implements DiscountStrategy{
    @Override
    public Double getTotal(double price) {
        // vip卡，95折
        return 0.95 * price;
    }
}
